package Flyweight_Pattern.word;


// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        File file1,file2,file3;
        File_Factory file_factory;
        file_factory=File_Factory.getInstance();
        file1=file_factory.getFile("g");
        file2=file_factory.getFile("j");
        file3=file_factory.getFile("m");
        file1.start(new Position(1,2,30));
        file2.start(new Position(2,3,40));
        file3.start(new Position(2,3,25));

    }
}
